package com.ooc.formV1.service;

import java.io.PrintWriter;
import java.util.List;

import com.oocl.formV1.pojo.User;

public interface UserService {
	/**
	 * 增加user
	 * @param user
	 */
	public int addUser(User user);
	
	/**
	 * 查找出所有的user
	 * @return
	 */
	public List<User> findAll();
	
	/**
	 * 校验基本信息是否正确
	 * @param user
	 * @return
	 */
	public boolean verifyFormat(User user);
	
	/**
	 * 
	 * @param users
	 */
	public void showAll(List<User> users, PrintWriter writer);
}
